package com.github.permissiondog.cancanpbackend.dao;

import com.github.permissiondog.cancanpbackend.model.TableChoice;

import java.util.List;

public interface TableChoiceDao {
    void createTable();
    TableChoice getChoiceById(int id);
    List<TableChoice> getChoices(int questionId);
    void insertChoice(TableChoice c);
    void deleteChoices(int questionId);
}
